/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.Date;

/**
 *
 * @author CUNEYT
 */
public class ScheduleEntry {

    private Date date;
    private String startTime;
    private String endTime;
    private String explanataion;
    private String title;

    public ScheduleEntry() {
    }

    public ScheduleEntry(String title, Date date, String startTime, String endTime, String explanataion) {
        this.title = title;
        this.date = date;
        this.startTime = startTime;
        this.endTime = endTime;
        this.explanataion = explanataion;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getExplanataion() {
        return explanataion;
    }

    public void setExplanataion(String explanataion) {
        this.explanataion = explanataion;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    @Override
    public String toString() {
        return getTitle();
    }
}
